<template>
  <div class="common-layout">
    <el-container direction="vertical">
      <top-header></top-header>
      <el-container>
        <side-menu></side-menu>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup lang="ts">
import SideMenu from '@/components/layout/SideMenu.vue'
import TopHeader from '@/components/layout/TopHeader.vue'
</script>
<style lang="scss" scoped>
.el-main {
  height: calc(100vh - 60px);
}
</style>
